// api/auth.js
const request = require('./request');

function wxLogin(code, nickname, avatar) {
  return request.post('/auth/wxlogin', { code, nickname, avatar });
}

module.exports = {
  wxLogin
}; 